package com.shoppingmall.service;

import com.shoppingmall.model.Car;
import com.shoppingmall.model.view.CarView;

import java.util.List;

public interface CarService {
    Object getCarCount(Car car);

    void updateCarCount(Car car);

    void addCar(Car car);

    List<CarView> getCarInfo(int user_id);

    void delCar(Car car);

    int getUserCarCount(int user_id);
}
